#include <iostream>
#include <cassert>
#include <string>
#include <sys/types.h>
#include <signal.h>
#include <cerrno>
#include <cstring>
#include <cstdlib>
using namespace std;
void Message(string s)
{
    cout<<"message\n\t";
    cout<<s<<" 进程pid 信号编号"<<endl;
}
int main(int argv,char* argc[],char* envp[])
{
    if(argv!=3)
    {
        Message(argc[0]);
        exit(2);
    }
    int process_pid=atoi(argc[2]);
    int process_signal=atoi(argc[1]);

    int ret=kill(process_pid,process_signal);
    if(ret!=0)
    {
        cerr<<errno<<strerror(errno)<<endl;
    }
    return 0;
}